From 0f07fd7abcd77b6ed949252e4d56d10f8fd1c90a Mon Sep 17 00:00:00 2001 From: Samuel Mimram Date: Sat, 26 Aug 2006 14:48:22 +0000 Subject: [PATCH] Don't strip custom bytecode programs. --- debian/policy/chapter-generalities.xml | 7 +++++-- debian/policy/chapter-progpack.xml | 4 ++++ 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/debian/policy/chapter-generalities.xml b/debian/policy/chapter-generalities.xml index 28faa5c4..7a920ae4 100644 --- a/debian/policy/chapter-generalities.xml +++ b/debian/policy/chapter-generalities.xml @@ -112,8 +112,10 @@ At the time of this writing, the latest version of OCaml in - Debian is &ocaml-version;. + Debian is &ocaml-version;. +
+ Packages for OCaml The ocaml package depends on all the basic packages needed to develop programs with OCaml. More specifically, @@ -175,7 +177,8 @@ ocaml-nox-&ocaml-version;, ocaml-base-&ocaml-version;, ocaml-base-nox-&ocaml-version;. - + +
OCaml Location diff --git a/debian/policy/chapter-progpack.xml b/debian/policy/chapter-progpack.xml index b58b0ef7..f972e232 100644 --- a/debian/policy/chapter-progpack.xml +++ b/debian/policy/chapter-progpack.xml @@ -73,6 +73,10 @@ necessary to ensure that the version of OCaml has a certain value then version constraints can be used. However, this should be justified by the requirements of the compilation of the program. + + + Bytecode programs which are compiled by ocamlc -custom must not be stripped. In particular, their package should be excluded from the dh_strip script. When compiled this way, an elf executable is generated containing the ocaml interpreter, and the bytecode of the program in a section which is removed when the program is stripped. For more information, see the bug 256900. An override for the lintian warning is considered as acceptable in this situation. +
-- 2.30.2